//
//  IconsBootcamp.swift
//  SwiftUiExercise
//
//  Created by 徐鹏 on 2023/6/23.
//

import SwiftUI

struct IconsBootcamp_07: View {
    var body: some View {
        VStack{
            
            Image(systemName: "paperplane.fill")
                .resizable()
                .aspectRatio(contentMode: .fit)
            //.scaledToFill()
            //.font(.largeTitle)
            //.font(.system(size: 200))
                .foregroundColor(Color.green)
                .frame(width: 300,height: 300)
                .clipped()
            
            Image(systemName: "books.vertical")
                .foregroundColor(Color.red)
                .font(.largeTitle)
                .frame(width: 300,height: 200)
        }
    }
}

struct IconsBootcamp_Previews: PreviewProvider {
    static var previews: some View {
        IconsBootcamp_07()
    }
}
